const app = getApp();
Component({
  data: {},
  properties: {},
  methods: {
    collectFormId(e) {
      const formid = e.detail.formId;
      const openid = wx.getStorageSync('userInfo').openid;
      app.util.request({
        url: 'pushService/api/formid',
        data: {
          formid,
          openid,
        },
        method: 'GET',
      });
    },
  },
});
